/*************[start global system]******************/
/*
--- 01 TYPOGRAPHY SYSTEM

- Font sizes (px)
10 / 12 / 14 / 16 / 18 / 20 / 24 / 30 / 36 / 44 / 52 / 62 / 74 / 86 / 98

- Font weights
Default: 400
Medium: 500
Semi-bold: 600
Bold: 700


--- 07 WHITESPACE

- Spacing system (px)
2 / 4 / 8 / 12 / 16 / 24 / 32 / 48 / 64 / 80 / 96 / 128
*/
.gs_reveal {
    opacity: 0;
    visibility: hidden;
    will-change: transform, opacity;
}

:root {
    --d-red-color: #fa5f5c;
    --d-blue-color: #6d8dfe;
    --d-yellow-color: #fcd34d;
    --l-red-color: #ff7675;
    --l-blue-color: #71bdfc;
    --green-color: #82dedd;
    --main-bg: #e7f6fd;
    --second-bg: #fff;
    --font-dark: #1d212c;
    --font-light: #959595;
    --shadow: rgba(0, 0, 0, 0.16) 0px 3px 6px;
}

* {
    margin: 0;
    padding: 0;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    outline: none;
    list-style: none;
    word-wrap: break-word;

    text-transform: capitalize;

    font-family: "cairo";
}

html {
    /* font-size: 10px; */
    /* 10px / 16px = 0.625 = 62.5% */
    /* Percentage of user's browser font-size setting */
    font-size: 62.5%;
}

body {
    line-height: 1.6;
    font-weight: 500;
    font-size: 14px;
    text-transform: capitalize;
    color: var(--font-dark);
    background: var(--second-bg);
    overflow-x: hidden;
    transition: 0.4s all ease;
    margin: 0 auto;
}

::-moz-selection {
    background-color: var(--main-color);
    color: #fff;
    text-shadow: none;
}

::selection {
    background-color: var(--d-yellow-color);

    color: #fff;
    text-shadow: none;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    margin: 0;
    line-height: 1.6;

    padding: 0;
    color: var(--font-dark);
}

p {
    color: var(--p-color);
    font-size: 14px;
    font-weight: 500;
    line-height: 1.6;
    margin: 0;
}

img {
    width: 100%;
    height: auto;
    object-fit: cover;
    object-position: bottom;
}

ul {
    margin: 0;
}

span,
a,
a:hover {
    display: inline-block;
    text-decoration: none;
    color: inherit;
}

.section-padding {
    padding: 8rem 0;
}

.ontop {
    position: relative;
    z-index: 4;
}

.position-re {
    position: relative;
}

.bg-img {
    background-size: cover;
    background-repeat: no-repeat;
}

.bg-fixed {
    background-attachment: fixed;
}

.d-redColor {
    color: var(--d-red-color);
    font-weight: 600;
}

.d-blueColor {
    color: var(--d-blue-color);
    font-weight: 600;
}

.d-yellowColor {
    color: var(--d-yellow-color);
    font-weight: 600;
}

.l-redColor {
    color: var(--l-red-color);
}

.l-blueColor {
    color: var(--l-blue-color);
}

.customeSquareLine {
    position: relative;
    z-index: 3;
}

.customeSquareLine::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: #c0dff9;
    height: 40%;
    z-index: -1;
}

.grade1 .cardGrade {
    background: var(--d-red-color);
}

.grade2 .cardGrade {
    background: var(--d-blue-color);
}

.grade3 .cardGrade {
    background: var(--d-yellow-color);
}

.grade1 .priceCourse {
    color: var(--d-red-color);
}

.grade2 .priceCourse {
    color: var(--d-blue-color);
}

.grade3 .priceCourse {
    color: var(--d-yellow-color);
}

/*********************************************
*********** start navbar ********************
*******************************************/
nav {
    background: var(--second-bg);
    padding: 1.5rem 3rem;
    position: fixed;
    width: 100%;
    box-shadow: var(--shadow);
    transition: 0.3s all ease;
    z-index: 999999;
}

.navProgress {
    position: absolute;
    bottom: 0;
    transition: 0.4s all ease;
    height: 4px;
    border-radius: 3rem;
    width: 100%;
    right: 0;
    background-color: #d1d5db;
}

.navProgress .navProgChild {
    height: 100%;
    background-color: var(--d-blue-color);
    position: absolute;
    bottom: 0;
    width: 0;
    border-radius: 3rem;
}

nav .customeContainer {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.right,
.left {
    display: flex;
    align-items: center;
}

.navAtom img {
    width: 50px;
}

.logoBrand {
    font-size: 2.4rem;
    margin: 0 0.8rem 0 1.5rem;
    color: var(--font-dark);
    font-weight: bold;
}

/*** light and dark svg ***/
.sun,
.moon {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    cursor: pointer;
    opacity: 0;
    transition: 0.3s all ease;
}

.sun {
    z-index: 2;
    opacity: 1;
}

.dark .sun {
    opacity: 0;
    z-index: 1;
}

.sun svg {
    color: #feca57;
    width: 35px;
    transition: 0.3s all ease;
    transform: rotate(90deg);
}

.dark .sun svg {
    transform: rotate(0deg);
}

.dark .moon {
    opacity: 1;
    z-index: 2;
}

.moon svg {
    width: 35px;
    transform: rotate(180deg);
    transition: 0.3s all ease;
}

.dark .moon svg {
    transition: 0.3s all ease;
    transform: rotate(45deg);
}

/** search **/
.search {
    position: relative;
    width: 30%;
    margin-left: 3rem;
}

.search span {
    position: absolute;
    right: 1.5rem;
    top: 50%;
    transform: translateY(-50%);
    color: #b4b4b4;
}

.search input {
    width: 100%;
    padding: 0.5rem 3rem 0.5rem 1.5rem;
    border-radius: 3rem;
    border: 1px solid #707070;
    transition: 0.3s all ease;
    background: var(--second-bg);
    color: var(--font-dark);
}

.search input:focus {
    box-shadow: var(--shadow);
}

/*** register ***/
.left .register {
    display: flex;
}

.signup {
    margin-left: 2.5rem;
}

.regItem,
.regItem:hover {
    display: flex;
    align-items: center;
    font-size: 1.8rem;
}

.signup .regItem,
.login .regItem {
    padding: 0.8rem 1.5rem;
    font-weight: 600;
    transition: 0.3s all ease;

    position: relative;
}

.signup:hover .regItem,
.login:hover .regItem {
    transform: translateY(-0.5rem);
}

.signup .regIcon,
.login .regIcon {
    transition: 0.2s cubic-bezier(0.88, 0.58, 0.5, 2.72) all;
}

.signup:hover .regIcon,
.login:hover .regIcon {
    transform: translateY(-0.3rem) rotate(10deg);
}

.regIcon {
    margin-left: 1rem;
    width: 25px;
}

.line {
    position: absolute;

    background-color: transparent;
}

.signup .line {
    background-color: var(--d-red-color);
}

.login .line {
    background-color: var(--d-blue-color);
}

.regItem .line:nth-child(1) {
    left: 0;
    bottom: 0;
    height: 100%;
    width: 2px;
    transform: scaleY(0);
    transform-origin: top;
    transition: 0.3s transform ease;
}

.regItem:hover .line:nth-child(1) {
    transform: scaleY(1.0001);
    transform-origin: bottom;
}

.regItem .line:nth-child(2) {
    left: 0;
    bottom: 0;
    width: 100%;
    height: 2px;
    transform: scaleX(0);
    transform-origin: right;
    transition: 0.3s transform ease;
}

.regItem:hover .line:nth-child(2) {
    transform: scaleX(1.0001);
    transform-origin: left;
}

.regItem .line:nth-child(3) {
    left: 0;
    top: 0;
    width: 100%;
    height: 2px;
    transform: scaleX(0);
    transform-origin: right;
    transition: 0.3s transform ease;
    transition-delay: 0.3s;
}

.regItem:hover .line:nth-child(3) {
    transform: scaleX(1.0001);
    transform-origin: left;
    transition: 0.3s transform ease;
}

.regItem .line:nth-child(4) {
    right: 0;
    bottom: 0;
    height: 100%;
    width: 2px;
    transform: scaleY(0);
    transform-origin: top;
    transition: 0.3s transform ease;
}

.regItem:hover .line:nth-child(4) {
    transform: scaleY(1.0001);
    transform-origin: bottom;
    transition: 0.3s transform ease;
}

.toggleBarBtn {
    display: none;
}

/*****************************************
********** start header ******************
*****************************************/
header {
    background-color: var(--main-bg);
    padding: 11rem 0 3rem;
    overflow: hidden;
    transition: 0.3s all ease;
}

header .row {
    align-items: center;
}

.teacherContent {
    overflow: hidden;
}

.bigHeading {
    font-size: 5.4rem;
    font-weight: bold;
}

.t-name {
    padding-bottom: 1.2rem;
}

.headingSubject {
    background: linear-gradient(to right, #ef8d67, #c383fd);
    color: var(--main-bg);

    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-stroke: 4px transparent;
    animation: gradient 2s ease infinite;
    background-size: 300% 300%;
    stroke-linecap: round;
}

.headerGrdeSwiper {
    position: relative;
}

.headerGrdeSwiper::after {
    content: "";
    position: absolute;
    bottom: -5px;
    right: 0;
    z-index: 3;
    height: 10px;

    animation: line infinite 6s;
    background-color: var(--green-color);
}

@keyframes line {
    0%,
    100% {
        width: 0%;
    }
    50% {
        width: 60%;
    }
}

.headerGrdeSwiper .swiper-slide {
    /* background-color: var(--main-bg); */
    margin-top: 2rem;
}

.headerGrdeSwiper .swiper-slide span {
    transition: 0.3s all ease;
    opacity: 0;
    transform: translateY(15px);
    display: block;
}

.headerGrdeSwiper .swiper-slide-active span {
    opacity: 1;
    transform: translateY(-10px);
    transition-delay: 0.1s;
}

.headerGrade {
    font-size: 4.4rem;
    font-weight: 700;
}

/*
.regItem .line:nth-child(2) {
    left: 0;
    bottom: 0;
    width: 100%;
    height: 2px;
    transform: scaleX(0);
    transform-origin: right;
    transition: 0.3s transform ease;
}
.regItem:hover .line:nth-child(2) {
    transform: scaleX(1.0001);
    transform-origin: left;
}
*/
@keyframes gradient {
    0%,
    100% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
}

.headerIcons {
    margin-top: 5rem;
    font-size: 4rem;
}

.headerIcons a {
    color: red;
    transition: 0.3s all ease;
    cursor: pointer;
}

.headerIcons a:nth-child(1) {
    color: var(--d-blue-color);
}

.headerIcons a:nth-child(2) {
    color: var(--d-red-color);
}

.headerIcons a:nth-child(3) {
    color: #a29bfe;
}

.headerIcons a:hover {
    transform: scale(1.1) rotate(15deg);
    color: #888;
}

.headerIcons a:not(:last-child) {
    margin-left: 1.5rem;
}

.teacherAbout {
    position: relative;
}

.headerImage {
    width: 65%;
    margin-right: 2rem;

    position: relative;
}

.headerImage::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: -5px;
    /* width: 100%; */
    /* height: 80%; */
    padding: 50%;
    border: 4px dashed var(--green-color);
    border-radius: 50%;
    animation: moving 15s linear infinite;
}

@keyframes moving {
    0% {
        transform: rotate(0);
    }
    50% {
        transform: rotate(180deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

/******* header Atom *********/
.headerAtom {
    position: absolute;
    top: 0;
    left: 15%;
    width: 15rem;
    z-index: 9;
}

.headerAtom .svg-container {
    width: 100%;
    height: 100%;
    max-width: 40em;
    position: absolute;
}

.headerAtom use[id*="orbit-"] {
    stroke-width: 6;
    stroke: #c383fd;
}

.headerAtom use[id*="electron-"] {
    stroke: #eee06c;
    stroke-width: 20;
    stroke-linecap: round;
    stroke-dasharray: 0.1 400; /* 400 is len of path of ellipse */
    stroke-dashoffset: 0;
}

/******* header Contents *********/
.headerContents {
    position: absolute;
    top: 5%;
    right: 0%;
    background: var(--second-bg);
    box-shadow: var(--shadow);
    padding: 2rem;
    border-radius: 1.5rem;
    backdrop-filter: saturate(180%) blur(10px) brightness(1.5);
    font-size: 1.4rem;
    z-index: 9;

    font-weight: 600;
}

.headerContents .contentsHeading {
    font-size: 1.6rem;
    margin-bottom: 1rem;
    font-weight: bold;
    position: relative;
    padding-bottom: 1.2rem;
}

.headerContents .contentsHeading:after {
    content: "";
    position: absolute;
    bottom: 0;
    right: 0;
    width: 30%;
    height: 3px;
    background-color: var(--green-color);
}

.headingLessonsParent {
    margin-bottom: 1rem;
    color: #ef8321;
}

.headingQuestionsParent {
    color: #0465e9;
}

.headerContents .contentNum {
    margin-left: 0.8rem;
    font-weight: bold;
}

/******* header testimonial *********/
.headerTestimonial {
    position: absolute;
    top: 45%;
    left: 0%;
    transform: translateY(-50%);
    background-color: rgba(255, 255, 255, 0.6);
    padding: 2rem 2rem;
    border-radius: 1.5rem;
    backdrop-filter: saturate(180%) blur(10px) brightness(1.3);
    z-index: 9;

    box-shadow: 0 3px 8px rgba(0, 0, 0, 0.05);
    max-width: 33rem;
}

.h-t-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.h-t-content {
    width: 70%;
}

.h-t-heading {
    color: #c383fd;
    font-weight: bold;
    margin-bottom: 1rem;
    font-size: 1.6rem;
}

.h-t-text {
    font-size: 13px;
    font-weight: 600;
}

.h-t-image {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    overflow: hidden;
    margin-right: 1.5rem;
}

.h-t-image img {
    height: 100%;
}

/******* header location *********/
.headerLocation {
    position: absolute;
    background: var(--second-bg);
    padding: 1rem 3rem 1rem 2rem;
    border-radius: 1.5rem;
    box-shadow: var(--shadow);
    max-width: 33rem;
    z-index: 9;
    bottom: -5%;
    right: 0;
}

.h-l-item,
.h-l-item:hover {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.h-l-content {
    width: 70%;
}

.h-l-heading {
    font-size: 1.4rem;
    font-weight: bold;
}

.h-l-image {
    width: 9rem;
    margin-right: 1.5rem;
}

.h-l-icon {
    position: absolute;
    top: 10px;
    right: 10px;
    background: #fd621a;
    width: 5rem;
    height: 5rem;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 2.2rem;
    color: #fff;
    transform: translate(50%, -50%);
    border-radius: 50%;
    z-index: 2;
}

/*****************************************
********** start levels ******************
*****************************************/

.levels {
    /* margin-top: -14%; */
    overflow: hidden;
    padding: 10rem 0 7rem 0;
}

.levelItem,
.levelItem:hover {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.l-image {
    width: 38%;
    transition: 0.2s cubic-bezier(0.88, 0.58, 0.5, 2.72) all;
}

.levelItem:hover .l-image {
    transform: rotate(10deg) translateY(-10px);
}

.l-content h4 {
    font-size: 2.4rem;
    font-weight: 700;
    margin-top: 3rem;
    text-align: center;
}

.l-content h4 span {
    font-weight: 700;
}

.paper {
    /* background: url(../public/imgs/paper.png); */
    padding: 11% 0 0;
    transition: 0.3s all ease;
    background-position: center;
    background-size: cover;
}

.paper2 {
    /* background: url(../public/imgs/paper2.png); */

    padding: 6% 0;
    transition: 0.3s all ease;
}

.dark .paper2 {
    /* margin-bottom: -10rem; */
}

/* .f {
    padding: 4rem;
}
.s {
    padding: 2rem;
}
.t {
    padding: 4rem;
} */
/*****************************************
********** start months ******************
*****************************************/
.latestMonths {
    padding-bottom: 15rem;
}

.monthsHeading {
    display: flex;
    justify-content: center;
    align-items: center;

    text-align: center;
    flex-direction: column;
}

.monthsHeading h2 {
    font-size: 3.6rem;
    font-weight: 600;
    transition: 0.4s all ease;
}

.monthsText {
    font-size: 1.8rem;
    color: var(--font-light);
    margin-top: 1.5rem;
    width: 50%;
    transition: 0.4s all ease;
}

.latestMonths .row {
    padding-top: 5rem;
}

.latestCard {
    margin: 0 0rem 3rem;
    background-color: var(--second-bg);
    border-radius: 1.5rem;
    display: block;
    box-shadow: 0 3px 15px rgba(0, 0, 0, 0.1);
    transition: 0.3s all ease;
    overflow: hidden;
    position: relative;
}

.latestCard:hover {
    display: block;
    box-shadow: 0 3px 15px rgba(0, 0, 0, 0.3);
    transform: translateY(-15px);
}

.latestCard .image {
    overflow: hidden;
}

.latestCard img {
    transition: 0.3s all ease;
}

.latestCard:hover img {
    transform: scale(1.1) rotate(2deg) !important;
}

.latestCard .content {
    padding: 2rem 3rem;
}

.latestCard .lessonsCount {
    display: flex;
    align-items: center;
    margin-bottom: 2rem;
    color: var(--font-light);
}

.latestCard .cardIcon {
    font-size: 1.6rem;
    margin-left: 0.8rem;
}

.latestCard .cardLessonsCount {
    font-size: 1.4rem;
}

.latestCard .monthName {
    font-size: 1.8rem;
    font-weight: 600;
    margin-bottom: 3rem;
}

.latestCard .details {
    padding-top: 1.5rem;
    border-top: 3px dashed #c7c7c7;
    position: relative;
    display: flex;
    justify-content: space-between;
}

.grade1 .details {
    color: var(--d-red-color);
}

.grade2 .details {
    color: var(--d-blue-color);
}

.grade3 .details {
    color: var(--d-yellow-color);
}

.latestCard .detailItem {
    font-size: 1.6rem;
    display: flex;
    align-items: center;
}

.latestCard .detailItem span {
    margin: 0 0.25rem;
}

.latestCard .cardPrice {
    font-size: 2rem;
    font-weight: bold;
}

.latestCard .users {
    color: var(--font-light);
}

.cardGrade {
    color: #fff;
    font-weight: bold;
    position: absolute;
    top: 10px;
    right: 10px;
    background-color: var(--d-red-color);
    padding: 0.5rem 1rem;
    z-index: 6;
    box-shadow: 1px 5px 6px rgba(0, 0, 0, 0.3);
    font-size: 1.4rem;
}

/*****************************************
********** start footer ******************
*****************************************/
footer {
    padding: 2rem 0;
    /* background-color: var(--green-color); */
    position: relative;
}

.footerIcon {
    font-size: 3.4rem;
    margin-bottom: 1rem;
}

.footerIcon a {
    color: #fff;
    transition: 0.3s all ease;
    cursor: pointer;
}

.footerIcon a:nth-child(1):hover {
    color: var(--d-blue-color);
}

.footerIcon a:nth-child(2):hover {
    color: var(--d-red-color);
}

.footerIcon a:nth-child(3):hover {
    color: #a29bfe;
}

.footerIcon a:hover {
    transform: scale(1.1) rotate(15deg);
    color: #888;
}

.footerIcon a:not(:last-child) {
    margin-left: 1.5rem;
}

.copyRight {
    color: #fff;
    font-size: 2rem;
    width: 100%;
    padding-top: 1rem;
    border-top: 1px solid;
}

.crParent {
    width: fit-content;
    display: flex;
    align-items: center;
    margin: 0 auto;
    max-width: 70%;
}

.copyRight p {
    font-size: 1.8rem;
}

.copyRight .space {
    margin: 0 1rem;
}

.copyRight .crTeacher {
    font-weight: bold;
}

.copyRight .heart {
    color: #ff5d3b;
}

.copyRight a {
    text-decoration: underline;
    font-weight: bold;
}

/** footer waves **/

/**************/

div.waves {
    width: 100%;
    bottom: 0;
    /*height: 100%;*/
    position: absolute;
    z-index: 4;
}

.tutorial-link {
    font-family: sans-serif;
    text-align: center;
}

.waves svg {
    position: absolute;
    width: 100%;
    bottom: 0;
    left: 0;

    animation-duration: 0.1s !important;
    animation-iteration-count: infinite;
    animation-direction: alternate;
}

.spacer {
    height: 100px;
    width: 100%;
}

@keyframes example {
    0% {
        left: 0px;
        top: 0px;
    }

    50% {
        left: -2000px;
        top: 200px;
    }

    100% {
        left: 0px;
        top: 0px;
    }
}

/******************************************
********************************************
*********************************************
*********************************************
****** start dark ****************************
****************************************
********************************************
*********************************************
**********************************************/

.dark:root {
    --main-bg: #2d3946;
    --second-bg: #556373;
    --font-dark: #fff;
    --font-light: #ebebeb;
}

/***** start nav ******/
.dark nav {
    background: #272d3d;
}

.dark .navProgress {
    background: #373e47;
}

.dark .navProgChild {
    background: var(--green-color);
}

/***** start header ******/
.dark .customeSquareLine::after {
    background-color: #4a5c70;
}

.dark .headerContents {
    background: rgba(85, 99, 115, 0.8);
}

.dark .headerTestimonial {
    background: rgba(85, 99, 115, 0.8);
}

.dark .headingQuestionsParent {
    color: #75b0ff;
}

.dark .headingSubject {
    color: #fff;
}

/***** start months ******/
.dark .latestCard {
    background: #405368;
}

/**** footer ******/

.dark footer .wave1 path {
    fill: rgba(64, 83, 104);
    transition: 0.3s all ease;
}

.dark footer .wave2 path {
    fill: rgba(64, 83, 104, 0.6);
    transition: 0.3s all ease;
}

.dark footer .wave3 path {
    fill: rgba(64, 83, 104, 0.4);
    transition: 0.3s all ease;
}

@keyframes rotate {
    0% {
        transform: rotate(0);
    }
    10% {
        width: 6.25em;
        height: 6.25em;
    }
    66% {
        width: 2.4em;
        height: 2.4em;
    }
    100% {
        transform: rotate(360deg);
        width: 6.25em;
        height: 6.25em;
    }
}

.preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #2d3946;
    z-index: 9999999999999;
    transition: 0.3s all ease;
}

.load {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    /*change these sizes to fit into your project*/
    width: 100px;
    height: 100px;
}

.load hr {
    border: 0;
    margin: 0;
    width: 40%;
    height: 40%;
    position: absolute;
    border-radius: 50%;
    animation: spin 2s ease infinite;
}

.load :first-child {
    background: #19a68c;
    animation-delay: -1.5s;
}

.load :nth-child(2) {
    background: #f63d3a;
    animation-delay: -1s;
}

.load :nth-child(3) {
    background: #fda543;
    animation-delay: -0.5s;
}

.load :last-child {
    background: #193b48;
}

@keyframes spin {
    0%,
    100% {
        transform: translate(0);
    }
    25% {
        transform: translate(160%);
    }
    50% {
        transform: translate(160%, 160%);
    }
    75% {
        transform: translate(0, 160%);
    }
}

.preloader svg {
    position: relative;
    width: 240px;
    height: 120px;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    margin: auto;
}

.preloader svg #plug,
.preloader svg #socket {
    fill: #fdb515;
}

.preloader svg #loop-normal {
    fill: none;
    stroke: #fdb515;
    stroke-width: 12;
}

.preloader svg #loop-offset {
    display: none;
}

.preloader .credit {
    position: relative;
    bottom: 50px;
    width: 100%;
    text-align: center;
}

.preloader .credit a {
    color: #fdb515;
    font: 800 75% "Open Sans", sans-serif;
    text-transform: uppercase;
    text-decoration: none;
}

:root {
    --atom-size: 180px;
    --atom-color-hex: #00d8ff;
    --atom-color-rgb: 0, 216, 255;
    --nucleus-size: calc(var(--atom-size) / 5);
    --electron-color-hex: #99f8ff;
    --electron-size: calc(var(--atom-size) / 25);
    --electron-orbit-size: calc(var(--atom-size) / 2.5);
    --electron-speed: 1.2s;
    --electron-speed-alpha: 1s;
    --electron-speed-omega: 0.8s;
}

/* Atom */
.preloader .atom {
    position: absolute;
    top: 50%;
    left: 50%;

    width: var(--atom-size);
    height: var(--atom-size);
    animation: 8s atom infinite cubic-bezier(1, 0.25, 0, 0.75);
}

@keyframes atom {
    0% {
        transform: translate(-50%, -50%) rotate(0deg) scale(1);
    }
    12.5% {
        transform: translate(-50%, -50%) rotate(-45deg) scale(0.9);
    }
    25% {
        transform: translate(-50%, -50%) rotate(-90deg) scale(1);
    }
    37.5% {
        transform: translate(-50%, -50%) rotate(-135deg) scale(0.9);
    }
    50% {
        transform: translate(-50%, -50%) rotate(-180deg) scale(1);
    }
    62.5% {
        transform: translate(-50%, -50%) rotate(-225deg) scale(0.9);
    }
    75% {
        transform: translate(-50%, -50%) rotate(-270deg) scale(1);
    }
    87.5% {
        transform: translate(-50%, -50%) rotate(-315deg) scale(0.9);
    }
    100% {
        transform: translate(-50%, -50%) rotate(-360deg) scale(1);
    }
}

/* Nucleus */
.preloader .atom::before {
    content: "";
    display: block;
    position: absolute;
    top: 50%;
    left: 50%;
    width: var(--nucleus-size);
    height: var(--nucleus-size);
    margin-top: calc(var(--nucleus-size) / -2);
    margin-left: calc(var(--nucleus-size) / -2);
    background: var(--electron-color-hex); /* var(--atom-color-hex); */
    border-radius: 100%;
    box-shadow: 0 0 3px 0 var(--atom-color-hex);
    animation: 2s nucleus infinite cubic-bezier(0.65, 0, 0.35, 1);
}

@keyframes nucleus {
    0% {
        transform: scale(1);
    }
    25% {
        transform: scale(0.9);
    }
    50% {
        transform: scale(1);
    }
    75% {
        transform: scale(0.85);
    }
    100% {
        transform: scale(1);
    }
}

/* Electron Orbit */
.preloader .atom > [class^="electron"] {
    border-top: solid rgba(var(--atom-color-rgb), 0.5) 1px;
    border-right: solid rgba(var(--atom-color-rgb), 0.35) 2px;
    border-bottom: solid rgba(var(--atom-color-rgb), 0.2) 4px;
    border-left: solid rgba(var(--atom-color-rgb), 0) 2px;
    border-radius: 100%;
    width: 100%;
    height: var(--electron-orbit-size);
    position: absolute;
    top: 50%;
    margin-top: calc(var(--electron-orbit-size) / -2);
    animation: var(--electron-speed) electron-orbit infinite linear;
}

.preloader .atom > .electron-alpha {
    transform: rotate(60deg);
    animation: var(--electron-speed-alpha) electron-orbit infinite linear;
}

.preloader .atom > .electron-omega {
    transform: rotate(-60deg);
    animation: var(--electron-speed-omega) electron-orbit infinite linear;
}

@keyframes electron-orbit {
    0% {
        border-top: solid rgba(var(--atom-color-rgb), 0.5) 1px;
        border-right: solid rgba(var(--atom-color-rgb), 0.35) 2px;
        border-bottom: solid rgba(var(--atom-color-rgb), 0.2) 4px;
        border-left: solid rgba(var(--atom-color-rgb), 0) 2px;
    }
    25% {
        border-top: solid rgba(var(--atom-color-rgb), 0.35) 1px;
        border-right: solid rgba(var(--atom-color-rgb), 0.2) 2px;
        border-bottom: solid rgba(var(--atom-color-rgb), 0) 4px;
        border-left: solid rgba(var(--atom-color-rgb), 0.5) 2px;
    }
    50% {
        border-top: solid rgba(var(--atom-color-rgb), 0.2) 1px;
        border-right: solid rgba(var(--atom-color-rgb), 0) 2px;
        border-bottom: solid rgba(var(--atom-color-rgb), 0.5) 4px;
        border-left: solid rgba(var(--atom-color-rgb), 0.35) 2px;
    }
    75% {
        border-top: solid rgba(var(--atom-color-rgb), 0) 1px;
        border-right: solid rgba(var(--atom-color-rgb), 0.5) 2px;
        border-bottom: solid rgba(var(--atom-color-rgb), 0.35) 4px;
        border-left: solid rgba(var(--atom-color-rgb), 0.2) 2px;
    }
    100% {
        border-top: solid rgba(var(--atom-color-rgb), 0.5) 1px;
        border-right: solid rgba(var(--atom-color-rgb), 0.35) 2px;
        border-bottom: solid rgba(var(--atom-color-rgb), 0.2) 4px;
        border-left: solid rgba(var(--atom-color-rgb), 0) 2px;
    }
}

/* Electron Unit */
.preloader .atom [class^="electron"]::after {
    content: "";
    display: block;
    width: var(--electron-size);
    height: var(--electron-size);
    background: var(--electron-color-hex);
    border-radius: 50%;
    margin-top: calc(var(--electron-size) / -2);
    position: absolute;
    top: 50%;
    left: calc(var(--electron-size) / -1);
    transform: scale(1);
    animation: calc(var(--electron-speed) * 2) electron infinite ease-in-out;
}

.preloader .atom .electron-alpha::after {
    animation: calc(var(--electron-speed-alpha) * 2) electron infinite ease-in-out;
}

.preloader .atom .electron-omega::after {
    animation: calc(var(--electron-speed-omega) * 2) electron infinite ease-in-out;
}

@keyframes electron {
    0% {
        left: calc(var(--electron-size) / -1);
        transform: scale(1);
    }
    12.5% {
        top: 100%;
        transform: scale(1.5);
    }
    25% {
        left: 100%;
        transform: scale(1);
    }
    37.5% {
        top: 0%;
        transform: scale(0.25);
    }
    50% {
        left: calc(var(--electron-size) / -1);
        transform: scale(1);
    }
    62.5% {
        top: 100%;
        transform: scale(1.5);
    }
    75% {
        left: 100%;
        transform: scale(1);
    }
    87.5% {
        top: 0%;
        transform: scale(0.25);
    }
    100% {
        left: calc(var(--electron-size) / -1);
        transform: scale(1);
    }
}

/* Shadow */
